package com.zz.ecommerce.user;

/**
 * 用户登录VO
 */
public class UserInfo {

    private int id = -1;
    private String name;
    private String logName;
    private String logPassword;
    private String organizationId;
    private String isDelete;
    private String company;
    private String companyId;
    private String companyName;
    private String departmentId;

    public String getCompany() {
        return this.company;
    }

    public void setCompany(final String company) {
        this.company = company;
    }

    public String getDepartmentId() {
        return this.departmentId;
    }

    public void setDepartmentId(final String departmentId) {
        this.departmentId = departmentId;
    }

    public String getCompanyName() {
        return this.companyName;
    }

    public void setCompanyName(final String companyName) {
        this.companyName = companyName;
    }

    public String getCompanyId() {
        return this.companyId;
    }

    public void setCompanyId(final String companyId) {
        this.companyId = companyId;
    }

    private int order;

    public UserInfo() {
    }

    public int getId() {
        return this.id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLogName() {
        return this.logName;
    }

    public void setLogName(String logName) {
        this.logName = logName;
    }

    public String getLogPassword() {
        return this.logPassword;
    }

    public void setLogPassword(String logPassword) {
        this.logPassword = logPassword;
    }

    public String getOrganizationId() {
        return this.organizationId;
    }

    public void setOrganizationId(final String organizationId) {
        this.organizationId = organizationId;
    }

    public String getIsDelete() {
        return this.isDelete;
    }

    public void setIsDelete(final String isDelete) {
        this.isDelete = isDelete;
    }

    public void setDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public int getOrder() {
        return this.order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
               "id=" + id +
               ", name='" + name + '\'' +
               ", logName='" + logName + '\'' +
               ", logPassword='" + logPassword + '\'' +
               ", organizationId='" + organizationId + '\'' +
               ", isDelete='" + isDelete + '\'' +
               ", company='" + company + '\'' +
               ", companyId='" + companyId + '\'' +
               ", companyName='" + companyName + '\'' +
               ", departmentId='" + departmentId + '\'' +
               ", order=" + order +
               '}';
    }
}
